﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class DocGiaDTO
    {
        #region Attributes
        private string _soThe;
        private string _hoTen = String.Empty;
        private DateTime _ngaySinh;
        private String _diaChi = String.Empty;
        private String _email = String.Empty;
        private string _maLoaiDG = String.Empty;
        private DateTime _ngayCap;
        private DateTime _ngayHetHan;
        private decimal _tongTienNo;
        #endregion
        #region Properties
        public string SoThe
        {
            get { return _soThe; }
            set { _soThe = value; }
        }

        public string HoTen
        {
            get { return _hoTen; }
            set { _hoTen = value; }
        }

        public DateTime NgaySinh
        {
            get { return _ngaySinh; }
            set { _ngaySinh = value; }
        }

        public string DiaChi
        {
            get { return _diaChi; }
            set { _diaChi = value; }
        }

        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }

        public string MaLoaiDG
        {
            get { return _maLoaiDG; }
            set { _maLoaiDG = value; }
        }

        public DateTime NgayCap
        {
            get { return _ngayCap; }
            set { _ngayCap = value; }
        }

        public DateTime NgayHetHan
        {
            get { return _ngayHetHan; }
            set { _ngayHetHan = value; }
        }

        public decimal TongTienNo
        {
            get { return _tongTienNo; }
            set { _tongTienNo = value; }
        }
        #endregion
        #region Default Constructor
        public DocGiaDTO()
        {
            _soThe = String.Empty;
            _hoTen = String.Empty;
            _diaChi = String.Empty;
            _email = String.Empty;
            _maLoaiDG = String.Empty;
            // Cac thuoc tinh khac su dung gia tri mac dinh
        }
        #endregion
    }
}
